package com.conferenceroom.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentsWithRoomname {
    private String roomname;
    private Integer commentId;
    private Integer orderId;
    private Integer roomId;
    private Date commentTime; // 评论时间
    private String content; // 评论内容
    private Integer rating; // 评论分数(1-5)
    private Integer replyId; // 对应评论表里的另一条comment_id
    private Integer commentType; // 1=1级评论，2=2级评论
}
